home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1999 February / CT_SW9902.ISO / pc / software / multimed / midi / vsam_sit.hqx / VSamp Folder / Read Me < prev    next >
Text File  |  1999-05-31  |  24KB  |  260 lines

  1.                                                         VSamp
  2.  
  3.                                 A Sample Playback Program
  4.                                       For the Macintosh
  5.  
  6.  
  7.                                                                                     Version: 2.4.6
  8.                                                                          31st May 1999
  9.  
  10. If you have any problems or comments regarding VSamp, please email the author Malcolm Haylock at smaug@kagi.com or visit the VSamp web site at http://www.kagi.com/smaug/vsamp
  11.  
  12. Contents:
  13.  
  14.   Introduction
  15.     Quick Demos
  16.     Registration
  17.     Overview
  18.     Using VSamp
  19.     OMS Thru
  20.     Using VSamp with Sound Cards
  21.     Version History
  22.  
  23. Introduction
  24.  
  25. VSamp is a long-awaited program that turns the Macintosh into an OMS or FreeMIDI and Sound Manager compatible multitimbral sample playback module. Configured like a simple sampler, VSamp can be setup to playback on 16 MIDI channels with up to 32 samples per channel, mapped and enveloped to user-defined configurations. This can then be driven by an OMS-compatible sequencer or the included application 'OMS Thru' running on the same computer.
  26.  
  27. Without registration, this program will stop playing a loaded bank after about four minutes from when the bank is loaded. The bank can be restarted with a single command. See the section "Registration" on how to obtain a fully operational version.
  28.  
  29. Very Quick Demo
  30.  
  31. 1.  Double-click on the file 'Acoustic Guitar Bank' in the folder 'Demo Bank' in the VSamp folder.
  32. 2.   Choose Load Bank from the Bank menu.
  33. 5.   Choose Bank->Play Scale->Channel 1. You should hear a C Major scale played on a sampled acoustic guitar.
  34.  
  35. Quick Demo with MIDI and Keyboard
  36.  
  37. 1.   If you don't yet have OMS 2.0 or later installed, download it free from www.opcode.com and install it. No specific setup of OMS is required for VSamp. 
  38. 2.   Launch 'VSamp' and choose Preferences from the Edit menu. Set the output resolution (8 or 16 bit) and sample rates to the same as shown in the Sound Out panel of the Sound control panel.
  39. 3.  Choose Open from the File menu. Navigate to the folder 'Demo Bank' in the VSamp folder and open the file 'Acoustic Guitar Bank'.
  40. 4.   Choose Load Bank from the Bank menu.
  41. 5.   Launch 'OMS Thru' and hold down the mouse on the top bar, selecting the name of your controller keyboard and releasing the mouse. Similarly, hold down the mouse on the lower bar and select 'VSamp'. If VSamp doesn't appear in the pull down menu it means VSamp is not currently running.
  42. 6.   Set your keyboard to transmit on MIDI channel 1 and play - you now have a sampled acoustic guitar!
  43. 7.   If you have on OMS compatible sequencer, see the VSamp home page on using VSamp with your sequencer.
  44.  
  45. Registration
  46.  
  47. The version of VSamp included with this package requires a registration number, otherwise it will stop playing a loaded bank after about four minutes. The bank can be reloaded with a single command.
  48.  
  49. To obtain a registration number:
  50. 1) Launch the enclosed program "Register".
  51. 2) Type your name and email address in the upper left spaces provided.
  52. 3) Type how many single user licenses you require and if you'd like a site license or world licence in the spaces provided.
  53. 4) Choose your payment method from the pull-down menu in the lower left area. The quickest way is to pay by credit card then email or fax the details. All credit card details are encrypted when you email them.
  54.       For credit card: enter your credit card details then click the Copy... button. Go to your email program and  paste into an a new message. Send this to sales@kagi.com
  55.       For cash, check and invoice: click the Print... button and send the form with your payment to the address on the printed form.
  56. 5) I will email a registration number as soon as I receive your details from kagi. Kagi handles payments only and does not provide technical support for VSamp.
  57.  
  58. Overview
  59.  
  60. Output resolution: 8 or 16 bit
  61. Output frequency: 11025 to 44100 Hz
  62. Sample Resolution: 8 or 16-bit  (best with 16-bit)
  63. Sample Frequency: any    (best with 44.1kHz)
  64. Sample Format: AIFF, Sound Designer II (SDII) or Macintosh Sound Resource.
  65. Polyphony: up to 32 (computer dependent) voices dynamically allocated
  66. Sample mapping: 32 samples per instrument
  67. Sample Memory: Depends on memory of computer. Set preferred memory in 'Get Info' in Finder.
  68. Multitimbral: 16 instruments per bank assigned to unique MIDI channels.
  69. MIDI Implementation: note on, note on velocity, note off (0x9X or 0x8X with 0 velocity), dynamic volume (ctrl 7), dynamic pan (ctrl 10), channel sustain pedal (ctrl 64), channel pitch bend, all sound off (ctrl 120), reset all controllers (ctrl 121) and all notes off (ctrl 123).
  70. MIDI compatibility: Requires OMS 2.0 or greater (free from www.opcode.com) or FreeMIDI 1.34 or later (free from www.motu.com). Use FreeMIDI if you want to use with VSamp with Performer, otherwise use OMS.
  71.  
  72. System Requirements
  73. * Any powermac or older machine with 68020, 030, 040 processor . Will not run on MacPlus, SE, Classic, Powerbook 100 or original Mac Portable. Best with 16-bit sound as on all powermacs and Quadra 660AV and 840AV.
  74. * OMS 2.0 or later (free from www.opcode.com) or FreeMIDI 1.34 or later (free from www.motu.com)
  75. * Sound Manager 3.1 or later strongly recommended (included with System 7.5.3 and later).
  76. * An OMS or FreeMIDI-compatible sequencer or the included application 'OMS Thru'.
  77.  
  78. Polyphony
  79. Polyphony is user-defined and depends on the processor speed. The benchmark powermacs I have run this on is a powermac 7200/90 (PPC 601 chip) which gives 16 note polyphony for 16-bit 44.1kHz sound without using 'high quality' pitch shifting and 9 notes with the higher quality pitch shifting. A 7600/132 (PPC 604e) gives 32 notes at high quality. Please let me know what performance different machines are capable of. If the polyphony is set too high, a disjointed sound will be heard due to breaks between the double buffering.
  80.  
  81. Sample Management
  82. The three limitations imposed by the program on sample management are the number of samples that can be loaded, the total amount of memory which all samples occupy, and if you use sound resources to store samples, the length of any one sample. Samples are stored as AIFF files, Sound Designer II files or Macintosh sound resources. Shareware programs such as the excellent D-SoundPro can be used to record and edit samples on your Macintosh.
  83.  
  84. The maximum number of samples that can be loaded is in this case a fairly arbitrary number, but it was decided that 32 samples per instrument for each of the sixteen instruments (512 samples) is adequate in most cases. For comparison, an Akai S3000 sampler can only store 255 in total while an Emu ESI-32 sampler can store up to 1000.
  85.  
  86. The memory available to the samples is limited by the size of the application's heap. This value is set in the program's Get Info window accessed in the Finder. VSamp samples contain a header as well as the sample data, but the header size is insignificant with regard to memory allocation. The program has been used with 64Mb of samples loaded without a problem and theoretically it could go much higher if more computer RAM was available.
  87.  
  88. The reliance on sound resources for the sample format limits the maximum size of any one sample. 'Inside Macintosh' mentions that resources should be kept below about 5 Mb, but as this represents almost a minute of 16-bit 44.1kHz mono sound, it is not really a concern unless the program is to be used primarily for triggering long samples. In this case a digital sequencer, such as Opcode's Studio Vision, would be a more appropriate tool, as long samples do not have to be resident in RAM and allows complete synchronisation between MIDI and digital audio. If you use AIFF or SDII files for sample storage there is no limitation on sample size;
  89.  
  90. MIDI Compatibility
  91. The integration of this program into currently existing systems has been an important consideration in its design, and for this reason it was decided that the best MIDI systems to use would be the 'Open Music System' (formerly ‘Opcode MIDI System’) or OMS and MOTU's FreeMIDI. These powerful MIDI systems were written by Opcode and Mark of the Unicorn to control the MIDI routing for their various hardware and software products. VSamp's MIDI routing operates by opening a virtual MIDI destination in OMS (or FreeMIDI if it is installed) which is recognised by other OMS or FreeMIDI-compatible applications running concurrently. VSamp has been successfully used with OMS compatible sequencers such as Opcode's Vision, Steinberg's Cubase, Coda's Finale and Emagic's Logic family of sequencer programs. Sequencers support FreeMIDI include MOTU's Performer family.
  92.  
  93. Using VSamp
  94.  
  95. VSamp is a stand-alone application that can be launched from the Macintosh Finder. As stated earlier, the memory available to VSamp for storage of samples can be set from the program's Get Info box. Set the 'preferred size' to the maximum amount of RAM that would be free with the OMS sequencer running concurrently.
  96.  
  97. The VSamp interface is very simple to use in that it contains only four menus. The first is the File menu which allows the user to configure instruments and banks. The second menu is the Edit menu, containing the standard edit commands as well as the Preferences item where the polyphony, sound buffer size, output resolution, sample rate, headroom and Middle C value are set. The third menu is the Bank menu which is used for loading and unloading banks into RAM.
  98.  
  99. Setting the Sound Format
  100. The type of sound output by VSamp needs to agree with the values set in the sound control panel for maximum efficiency. VSamp is capable of outputting sound as 8 or 16-bit numbers at various sample rates from 11 to 44.1 kHz. First go to the Sound control panel for your macintosh and select a sample resolution and rate. Then go to VSamp and set the same value in the Preferences item. The sample rate has a big effect on the polyphony and in general halving the sample rate will double the available polyphony. Therefore if you can make do with 22kHz sound, do so. The sample resolution has a much smaller impact on speed so if you have 16-bit sound available, use it.
  101.  
  102. Arranging Samples
  103. The arrangement of sounds in VSamp is very straightforward. The most basic unit is the sample, stored as a Macintosh sound resource, Sound Designer II file or AIFF file. These files contain all the necessary information about the sample, including base note , sample rate and loops. Note that SDII files can not store the sample's base note so this value must be set in the instrument. These values are set using either a commercial digital waveform editor such as Macromedia's 'SoundEdit 16', Passport's 'Alchemy' or Digidesign's 'Sound Designer' software or alternatively with such shareware programs as the excellent 'D-SoundPRO', 'Sound Effects', 'SndSampler'  and ‘SoundHack’ available from info-mac. For accurately setting loops a waveform editor is recommended.
  104.  
  105. The organisation of a group of samples (eg piano) across the keyboard is called an instrument. A VSamp instrument is created or edited with the commands New and Open respectively, chosen from the File menu.
  106.  
  107. Each line of this instrument is used to select a sample for this instrument and define it's lower and upper notes on the keyboard. Click the blue sample box (2nd column) to select the sample file. The next column is a pop-up menu of all the sound resources in the selected file. If the sample is an AIFF or SDII file this column will display 'AIFF' or 'SDII' and can not be altered. The resources are listed by ID number and name, and selecting a resource displays it's number in the Resource box (3rd column). Next the lower and upper MIDI notes are entered in the respective columns. You can use a MIDI keyboard to enter these values but you must have the application 'OMS Thru' running to route the MIDI from your keyboard to VSamp. These values can be entered as either numbers or names. If two samples overlap in note range, only the sample further down the list will be heard.  The final column is where you can set the sample's pitch. Set this to 0 if you want to use the pitch stored in the sample. Note that SDII files can not store pitch data and so default to middle C.
  108.  
  109. An easier way to add samples is to drag them from the Finder onto an instrument window. If the samples have their pitches set then VSamp will automatically arrange the samples is ascending order and set their note ranges (AIFF files only).
  110.  
  111. Clicking on the Envelope button brings up the window where you can enter the envelope characteristics for this instrument. The diagram explains what each item refers to. Note that all times are in 100ths of a second with a maximum of 9900 (99 secs). The sustain value is in percent of maximum amplitude. Click OK to save this envelope or Cancel to return to the previous values. Finally select Save from the File menu to save your instrument.
  112.  
  113. It is important to note that all samples must reside in the same folder as the instrument file, otherwise you will get an error message when trying to load a bank. Different instruments can reside in different folders providing all the samples included in an instrument are located in the folder with the instrument.
  114.  
  115. The instrument also contains a box marked 'Track'. Activating this means VSamp will use the sample's base note information to transpose the sample to the correct pitch. If you leave this box unchecked, VSamp will just play back the sample without transposing it. You will usually leave this box checked unless you are creating drum instruments where you don't want the samples transposed.
  116.  
  117. Arranging Instruments
  118. The manner in which these instruments are assigned to MIDI channels constitutes a bank. Using New or Open from the File menu to create or edit a bank respectively, brings up a window with sixteen lines, one for each instrument.
  119.  
  120. Each line is used to assign a VSamp instrument to a MIDI channel. Simply select the instrument by clicking on one of the blue instrument boxes then type the MIDI channel (1-16) in the Channel column. If two instruments are given the same channel, only the instrument further down the list will be heard. Alternatively drag instruments from a Finder window onto a bank window and they will be added with incremented MIDI channels.
  121.  
  122. The pitch bend response is set on the top line. This is the number of semitones that a full bend activates. The maximum is 12 (1 octave)
  123.  
  124. Each line also includes a checkbox for higher quality (but slower) pitch shifting of the sample. Enabling the checkbox 'HiQ' will use interpolation for this instrument but will reduce available polyphony.
  125.  
  126. Finally select Save to save the bank.
  127.  
  128. Loading a Bank
  129. A VSamp bank is loaded into memory using the Load Bank command from the Bank menu. This command is only available when a bank is open and is the front document (choose from the Windows menu if needed). This command opens each of the files referenced by the various instruments in the bank and loads the relevant samples into memory, assigning each to a range of notes for it's particular MIDI channel. Appropriate error messages are given for such problems as not being able to find files or resources, or running out of memory. If the program can't find a file, check that all samples  are in the same folder as the instrument file. Instruments can be located in different folders though. Note that the bank loaded is as the window shows, not how the bank was last saved. On the contrary though, any instruments loaded are as they are saved to disk.
  130.  
  131. Unloading a Bank
  132. When a bank is loaded the processor will be doing much extra processing even when no sound is playing. Choosing Unload Bank prevents this when you need the processor for other tasks. A currently loaded bank is also unloaded when you choose Preferences from the Edit menu.
  133.  
  134. Saving Output as a File
  135. Choosing Load to File from the Bank menu does the same as Load Bank but output is also saved to a stereo Sound Designer II file. You are prompted for a name before the bank is loaded and saving output starts as soon as soon as the bank is loaded.  Alternatively if you have the "MIDI Start/Stop" item in the options menu enabled, then VSamp will wait for a MIDI Start or Continue cammand before commencing writing to the file. With this item enabled it will also stop writing when it receives a MIDI Stop command. Note that output files can be large, for example at 44kHz 16-bit settings the output file will take up about 10MB per minute.
  136.  
  137. Testing a Bank
  138. Choose Play Scale->Channel X from the bank menu to play a C Major scale on the selected MIDI channel for the currently loaded bank. This item is only enabled when a bank is loaded.
  139.  
  140. Accessing VSamp from Sequencer
  141. Refer to your sequencer's manual on using OMS or FreeMIDI. Directions for each of the major sequencers can be found at the VSamp home page.
  142.  
  143. Setting the Polyphony
  144. VSamp requires you to set the polyphony to avoid breaks in the audio signal. A simple test needs to be carried out. Load a bank into VSamp and with the sustain pedal down play up a scale, counting the notes until the sound deteriorates. Set this number (minus two for headroom) in the poyphony field from the Preferences item in the Edit menu. Note that if you push the computer too hard the computer is more likely to crash and there will not be enough power to run a sequencer in the foreground. Polyphony is also determined by how many instruments in each bank have their "Hi Quality" checkboxes set. It's best to test the polyphony with this box checked. If you use the Acoustic Guitar Instrument for this test you should first open this instrument, set it's envelope's sustain value to 100 and save the file before using it. That way the sound will not fade when you sustain notes.
  145.  
  146. Fine Tuning the Program
  147. Other fields that can be set in the preferences are the size of the sound buffers, the output sound format and the headroom. The default of 128 for the buffer size (with 44.1kHz output) is a good compromise between the responsiveness of the program and the polyphony. A smaller number will make the program react faster and give smoother envelopes but will reduce the available polyphony. The program will not let you set a value lower than 32 or higher than 512. Increasing this value gives more polyphony but slows the responsiveness. Please play around with this value and let me know what you think is best.
  148.  
  149. The headroom setting sets the output level of VSamp and defaults to 6dB. Setting a value closer to 0dB will give a stronger output and better quality sound but will more likely distort with multiple voices. If you don't use many voices you can set this to 0dB but beware - the distortion when it happens is severe! For higher polyphony settings I suggest you set this to 12dB or even 18dB.
  150.  
  151. OMS Thru
  152.  
  153. OMS Thru is a program written by Opcode which acts as a simple MIDI patchbay for OMS. After installing OMS 2.x, you can use this program to route the MIDI messages from a source (top pull-down menu) to a destination (bottom menu). After starting VSamp, it should appear as a destination in OMS Thru. OMS Thru is not required when using a sequencer.
  154.  
  155. Using VSamp with Soundcards
  156.  
  157. VSamp has been tested with the Pro Audio Spectrum 16 sound card which doesn't support multichannel sound. Since VSamp only uses one sound channel this is not a problem as long as other applications don't require sound channels. I have found that Opcode's Vision sequencer allocates a sound channel during playback and record which stops VSamp playing. The way to prevent this is as follows:
  158. 1) Go to the Sound Out panel of the Sound control panel and select the output device that you want VSamp to use (PAS16 card)
  159. 2) Launch VSamp and load a bank. This is when VSamp opens it's sound channel.
  160. 3) Go to the Sound Out panel of the Sound control panel and select a different output device that other applications can use (MAC internal).
  161. 4) Launch the sequencer or other application.
  162. The VSamp sound will then go to the sound card and other applications will send sound to the Mac which shouldn't upset VSamp. Whenever you load a new bank you will have to change the Sound Out panel of the Sound control panel to your soundcard before you load the bank, then back again before you continue.
  163.  
  164. Version History:
  165.  
  166. 2.4.6, 31st May 1999:
  167. 1) Added "drag and drop" support for instrument and bank windows.
  168. 2) Sample pitches now set when a sample is added.
  169. 3) Minor cosmetic changes (eg. checkboxes)
  170. 4) MIDI Start/Stop command option added and preferences moved to options menu.
  171. 5) FreeMIDI correction so VSamp only responds to MIDI from a program.
  172.  
  173. 2.4.5, 3rd April 1999:
  174. 1) Added "Play Scale" command.
  175.  
  176. 2.4.4, 3rd January 1999:
  177. 1) Added support for blocked AIFF files.
  178. 2) Bank file now remembers instrument locations on disk.
  179.  
  180. 2.4.3, 14th December 1998:
  181. 1) Tab key now moves between text fields.
  182. 2) Fixed problem loading some SDII files.
  183. 3) Fixed problem whereby scrolling upset text fields.
  184. 4) Extended note range of instruments to MIDI notes 1 to 127.
  185.  
  186. 2.4.2, 12th November 1998:
  187. 1) Corrected implementation of  'All Notes Off' command.
  188. 2) Implemented 'Reset All Controllers' (ctrl 121) and 'All Sound Off' (ctrl 120) commands.
  189. 3) Fixed problem whereby very short notes wouldn't play.
  190.  
  191. 2.4.1, 27th October 1998:
  192. 1) Fixed MIDI overflow bug after an 'All Notes Off' command.
  193. 2) Added command key equivalents for Bank menu.
  194.  
  195. 2.4.0, 28th September 1998:
  196. 1) Added support for FreeMIDI.
  197.  
  198. 2.3.0, 23rd August 1998:
  199. 1) Added support for Sound Designer II files.
  200. 2) Added Load to File for saving output as a Sound Designer II file.
  201. 3) Implemented clipboard functions for lines in instruments and banks.
  202. 4) Limited buffer-size preferences to a pull-down menu.
  203. 5) Implemented setting a sample's base note from within instrument.
  204. 6) Increased width of Sample Name column in instrument.
  205.  
  206. 2.2.1, 14th September 1997:
  207. 1) Increased MIDI buffer size to overcome overflow problems with Cubase resetting controllers.
  208. 2) Filtered MIDI data on input to help with overflow problems.
  209. 3) OMS Thru window now moveable.
  210. 4) TAB key enters data when in a text field.
  211.  
  212. 2.2.0, 10th July 1997:
  213. 1) More intelligent note stealing.
  214. 2) Shutting down  now correctly prompts to save changes.
  215. 3) Added Middle C preference
  216. 4) Direct support for stereo samples
  217.  
  218. 2.1.3, 9th June 1997:
  219. 1) Fixed problem with incorrect playback of 8-bit AIFF files.
  220.  
  221. 2.1.2, 2nd June 1997:
  222. 1) Fixed clicking problem at end of some unlooped samples.
  223.  
  224. 2.1.1, 21st May 1997:
  225. 1) Fixed MIDI Buffer Overflow reporting when no bank is loaded.
  226.  
  227. 2.1.0, 17th May 1997:
  228. 1) Added support for AIFF files.
  229. 2) Allowed multiple sound channels for same note.
  230. 3) Added 'Track' switch in instrument.
  231. 4) Registration no longer reset when preferences file trashed.
  232. 5) Improved memory management and fixed memory purging error when time limit expires.
  233. 6) Added headroom preference.
  234. 7) Hitting Return or Enter while in a text edit field now enters data.
  235.  
  236. 2.0.1, 15th Mar 1997:
  237. 1) Fixed tuning error for samples with small loops and reworked looping code.
  238.  
  239. 2.0.0, 26th Jan 1997:
  240. 1) Completely rewrote interface to be more friendly including:
  241.      Standard File menu commands to open, close and save documents.
  242.      Implemented edit scrap commands.
  243.      Multiple windows open at once slectable with Window menu.
  244.      Increased max number of samples to 32 per instrument.
  245.      68k Macs can now use 16 instruments.
  246. 2) Fixed a bug in envelope routine.
  247. 3) Fixed a bug whereby unlooped samples were sometimes trying to read past end.
  248.  
  249. 1.5.0, 8th Sep 1996:
  250. 1) Included interpolation option for pitch shifting of each instrument in a bank to improve sound quality.
  251. 2) Reinitialise the sound channel each time a bank is loaded to allow for changes in the preferences and sound control panel.
  252. 3) Fix bug that causes VSamp to crash if OMS not installed.
  253. 4) Compatibility with 8-bit resources with extended headers.
  254. 5) Compatibility of envelope resource between 68k and PPC versions.
  255. 6) Increase demo time to four minutes.
  256. 7) Fixed Bug in OMS Thru that caused it to crash when VSamp was quit when also selected as output device.
  257. 8) Update to OMS developers kit 960523.
  258.  
  259. 1.4.1, 17th April 1996:
  260. Initial release.